//
//  WSBannerCell.m
//  WisdomStar
//
//  Created by 谭飞 on 2018/10/24.
//  Copyright © 2018年 zhangliwen. All rights reserved.
//

#import "WSBannerCell.h"

@implementation WSBannerCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self setupViews];
    }
    return self;
}

- (void)setupViews {
    
    self.imageView = [[UIImageView alloc] init];
    self.imageView.contentMode = UIViewContentModeScaleAspectFill;
    [self.contentView addSubview:self.imageView];
    
    [self.imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.contentView);
    }];
}



@end
